package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;


/**
 * ai 对话
 *
 * @author wyj
 * @date 2025-04-18
 */
public class AiChat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long Id;

    public Long getId() {
        return Id;
    }

    public String getAiChat() {
        return aiChat;
    }

    public void setAiChat(String aiChat) {
        this.aiChat = aiChat;
    }

    public Date getChatDate() {
        return chatDate;
    }

    public void setChatDate(Date chatDate) {
        this.chatDate = chatDate;
    }

    public String getUserChat() {
        return userChat;
    }

    public void setUserChat(String userChat) {
        this.userChat = userChat;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id) {
        Id = id;
    }

    /** 用户发送 */
    @Excel(name = "用户发送")
    private String userChat;

    /** 用户发送 */
    @Excel(name = "ai回复")
    private String aiChat;

    /** 对话时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "对话时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date chatDate;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

}
